package com.sale.system.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sale.common.mybatis.core.mapper.BaseMapperPlus;
import com.sale.system.domain.MaterialHalf;
import com.sale.system.domain.dto.MaterialHalfDto;
import com.sale.system.domain.vo.MaterialHalfVo;
import org.apache.ibatis.annotations.Param;

/**
 * @Description 半成品mapper
 * @Date 23-12-07
 * @Author hl
 **/
public interface MaterialHalfMapper extends BaseMapperPlus<MaterialHalfMapper, MaterialHalf, MaterialHalf> {

    /**
     * 获取半成品配置
     */
    Page<MaterialHalfDto> selectHalfList(@Param("page") Page<MaterialHalfVo> build,@Param(Constants.WRAPPER) Wrapper<MaterialHalfVo> buildQueryWrapper);
}
